
import { observable, action } from "mobx";
import api from "../apis/app";

export default class AnalysisDesignerStore {
  @observable board = null;
  
  @action init = appid => {
    api.getBoard(appid).then(board => {
      this.board = board;
    });
  }
}